package br.unipar.blog.persistence.manager.artigo;

import br.unipar.blog.persistence.entity.Artigo;
import java.util.List;
import org.springframework.transaction.annotation.Transactional;

public interface ArtigoManager {

    @Transactional
    Artigo salvar(Artigo artigo);

    @Transactional(readOnly = true)
    List<Artigo> listar();

}
